import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SPoint } from "./SPoint";
type int = number;
//class SMapPassPoint
    
    export  class SMapPassPoint
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.id);
            arg1.writeString(this.name);
            this.point.__write(arg1);
            arg1.writeBool(this.show);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.id = arg1.readInt();
            this.name = arg1.readString();
            this.point = new SPoint();
            this.point.__read(arg1);
            this.show = arg1.readBool();
            return;
        }

        public /* var */id: int;

        public /* var */name: string;

        public /* var */point: SPoint;

        public /* var */show: Boolean;
    }
